package cn.wolfcode.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import cn.wolfcode.service.IEmployeeService;

// 真实类,只完成业务方法
@Component
public class EmployeeServiceImpl implements IEmployeeService {

	@SuppressWarnings("unused")
	@Autowired
	private IEmployeeService employeeService;

/*	public void setStudentServiceImpl(IStudentService studentService) {
		this.studentService = studentService;
	}*/

	@Override
	public void save(String username, String password) {
		System.out.println("这是保存" + username + "," + password);

	}

	@Override
	public void update(String username, String password) {
		@SuppressWarnings("unused")
		int i = 10 / 0;
		System.out.println("这是修改" + "," + username + password);

	}

}
